package com.manage.common.util.dataFunction;

import java.util.Random;
/**
 * 随机生成学历
 * @author duaiyu
 * @version V1.0
 * @date 2022/2/27
 * 来源：自研
 */
public class CreateEducation {
    //获取学历
    public static String getEducation(){
        String[] education = {"文盲", "小学", "初中", "高中", "中职", "专科", "本科",
        "硕士", "博士", "博士后"};
        Integer num = new Random().nextInt(10);
        return education[num];
    }
}
